// loadsh 和lodash fp 模块中 map的区别

// const _ = require('lodash')

// console.log(_.map(['23', 8, 23], parseInt)) // [ 23, NaN, NaN ]


const fp = require('lodash/fp')

console.log(fp.map(parseInt, ['23', 8, 23])) // [ 23, 8, 23 ]